package com.arron.valueAndArgsDliver;

/**
 * @Classname Test1
 * @Date 2020/9/6 18:07
 * @Created by 刘
 */
class A{

    static void c(){
        System.out.println("c");
    }
    public void a(){
        System.out.println("A a");
    }
}

class B extends A{

    public void a(){
        System.out.println("B a");
    }
    public void b(){
        System.out.println("b");
    }
}



public class Test1 {

    public static void main(String[] args){

        B b1 = new B();
        /**
         * 输出包名加类名
         */
//        System.out.println(b1.getClass().getName());

        Integer a = 1;
        Integer b = 1;
        Integer c = 500;
        Integer d = 500;
//        Float
        Long e = 1000L;
        Long f = 1000L;
//        System.out.println(a==b);
//        System.out.println(c == d);
//        System.out.println(e == f);
        //异或运算，将二进制的数进行转换，只有都不相同的时候才为1
//        System.out.println(17^5);
        e>>>=f;
//        e<<<=f;
        e<<=f;
        e>>=f;
//        e.wait();
//        Thread.sleep(2000);
        A aa= new B();
//        aa.a();
//        aa.b();

        System.out.println(foolr(3));

    }


    public static int foolr(int n){
        if (n == 1 && n==2){
            return n;
        }
        return foolr(n-1)+foolr(n-2);
    }


}
